package controller;

import java.util.ArrayList;

import model.Cinema;
import model.Seat;
import database.DBCinema;
import database.DBSeat;

/**
 * 
 * @author Anders
 * @editor Allan
 *
 */
public class CtrCinema 
{
	private DBCinema dbc;
	private DBSeat dbs;
	
	public CtrCinema()
	{
		dbc = new DBCinema();
		dbs = new DBSeat();
	}
	
	public Cinema getCinema(String cinNum)
	{
		return dbc.getCinema(cinNum);
		
	}
	
	public ArrayList<Seat> getSeats(String cinNum)
	{
		return dbs.getAllSeats(cinNum);
	}
}
